body, p, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, form, fieldset, legend, input, select, textarea, button, th, td, menu {
  margin: 0;
  padding: 0; }

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

ul, dl, ol {
  list-style: none; }

img, fieldset, input[type="submit"] {
  border: 0 none; }

em {
  font-style: normal; }

strong {
  font-weight: normal; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

button, input[type="button"] {
  cursor: pointer;
  border: 0 none; }

a, button, input[type="button"] {
  -webkit-touch-callout: none; }

input, select, textarea {
  outline: none; }

a {
  text-decoration: none; }

.fl {
  float: left; }

.fr {
  float: right; }

.clear {
  clear: both; }

.clearfix::after {
  content: '';
  display: block;
  clear: both; }

html, body {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

html {
  width: 100%;
  font-family: 'Heiti SC', "microsoft yahei";
  outline: 0;
  -webkit-text-size-adjust: none; }

body {
  margin: 0;
  position: relative; }

.game-bg {
  position: relative;
  width: 10rem;
  height: 17.75rem;
  background: deepskyblue;
  padding: 3.125rem 0.3125rem 0.3125rem; }

.game-frame {
  position: relative; }

.card-frame, .black-layer {
  border: 0.03125rem solid blue;
  -webkit-border-radius: 0.15625rem;
  -moz-border-radius: 0.15625rem;
  border-radius: 0.15625rem;
  width: 100%;
  height: 10rem;
  padding: 0.15625rem; }
  .card-frame div, .black-layer div {
    -webkit-transition: opacity 1s;
    -o-transition: opacity 1s;
    -moz-transition: opacity 1s;
    transition: opacity 1s;
    font-size: 0;
    display: inline-block;
    width: 2rem;
    height: auto;
    margin: 0.15625rem 0.125rem; }
    .card-frame div img, .black-layer div img {
      -webkit-border-radius: 0.15625rem;
      -moz-border-radius: 0.15625rem;
      border-radius: 0.15625rem;
      width: 100%;
      height: 100%; }

.black-layer {
  position: absolute;
  top: 0; }

.time {
  position: absolute;
  top: 15rem;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  color: white; }

.btn {
  /*margin-top: 1.5625rem;*/
  position: relative;
  top: -12.2rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around; }

.cheat, .re-start {
 font-size: 0.58rem;
  width: 3.90625rem;
  height: 1.5625rem;
  line-height: 1.5625rem;
  background: blue;
  -webkit-border-radius: 0.3125rem;
  -moz-border-radius: 0.3125rem;
  border-radius: 0.3125rem;
  text-align: center;
  color: #01F5F5; }

.win {
  display: none;
  position: fixed;
  width: 6.25rem;
  background: #660066;
  top: 50%;
  left: 50%;
  -webkit-border-radius: 0.625rem;
  -moz-border-radius: 0.625rem;
  border-radius: 0.625rem;
  border: 1px solid yellow;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  color: yellow;
  padding-top: 0.3125rem; }

.restart {
  outline: none;
  display: block;
  width: 3.125rem;
  height: 1.40625rem;
  text-align: center;
  -webkit-border-radius: 0.625rem;
  -moz-border-radius: 0.625rem;
  border-radius: 0.625rem;
  background: #ccc;
  -webkit-box-shadow: 0.09375rem 0.15625rem 0.3125rem #000000;
  -moz-box-shadow: 0.09375rem 0.15625rem 0.3125rem #000000;
  box-shadow: 0.09375rem 0.15625rem 0.3125rem #000000;
  margin: 0.78125rem auto;
  font-size: 0.78125rem;
  line-height: 1.40625rem; }

.start {
  -webkit-transition: all 1s;
  -o-transition: all 1s;
  -moz-transition: all 1s;
  transition: all 1s;
  width: 100%;
  height: 100%;
  background: deepskyblue;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2; }
  .start button {
    outline: none;
    display: block;
    width: 3.125rem;
    height: 1.40625rem;
    text-align: center;
    -webkit-border-radius: 0.625rem;
    -moz-border-radius: 0.625rem;
    border-radius: 0.625rem;
    background: #ccc;
    -webkit-box-shadow: 0.09375rem 0.15625rem 0.3125rem #000000;
    -moz-box-shadow: 0.09375rem 0.15625rem 0.3125rem #000000;
    box-shadow: 0.09375rem 0.15625rem 0.3125rem #000000;
    margin: 3.125rem auto;
    font-size: 0.78125rem;
    line-height: 1.40625rem; }
  .start img {
    display: block;
    width: 6.25rem;
    height: auto;
    margin: 1.5625rem auto;
    -webkit-border-radius: 0.39063rem;
    -moz-border-radius: 0.39063rem;
    border-radius: 0.39063rem; }